package org.ggumm21.moneybook.servlet;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import org.ggumm21.moneybook.BookManager;

@SuppressWarnings("serial")
public class InitServlet extends HttpServlet {

	public final void init() throws ServletException {

		if (!BookManager.init(getServletContext())) {
			throw new ServletException("AccountManager.init failed");
		}

	}
	
}
